package com.zb.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

/**
 * @Author WEN
 * @Date 2024/1/11 0011
 **/
@Data
@ApiModel("出/入库物料对象")
public class OutInboundMaterialVo {
    @ApiModelProperty(value = "出/入库物料ID")
    private Long id;

    @ApiModelProperty(value = "物料类型：1-成品 ，2-备件")
    private Integer type;

    @ApiModelProperty(value = "仓库ID")
    private Long storeId;

    @ApiModelProperty(value = "仓库")
    private String store;

    @ApiModelProperty(value = "仓库仓位表ID")
    private Long storePositionId;

    @ApiModelProperty(value = "仓库仓位")
    private String storePosition;

    @ApiModelProperty(value = "物料ID")
    private Long goodsId;

    @ApiModelProperty(value = "商品品牌")
    private String goodsBrand;

    @ApiModelProperty(value = "商品名称")
    private String goodsName;

    @ApiModelProperty(value = "商品型号")
    private String goodsModel;

    @ApiModelProperty(value = "商品分类")
    private String goodsType;

    @ApiModelProperty(value = "商品单位")
    private String goodsUnit;

    @ApiModelProperty(value = "物料规格表ID")
    private Long goodsSpecId;

    @ApiModelProperty(value = "商品规格名称")
    private String goodsSpecName;


    @ApiModelProperty(value = "物料单价")
    private BigDecimal price;

    @ApiModelProperty(value = "物料出库数量")
    private Integer qty;

    @ApiModelProperty(value = "物料出库备注")
    private String remark;

    @ApiModelProperty(value = "即时库存")
    private long systemStock;

    @ApiModelProperty(value = "出库物料商品一物一码")
    private List<StoreGoodsStockCodeVo> stockCodeVos;
}
